<nb-card>
  <nb-card-header>条件筛选</nb-card-header>
  <nb-card-body>
    <input nbInput class="margin" placeholder="设备编号" [(ngModel)]="devNo">
    <input nbInput class="margin" placeholder="Start Time" [nbDatepicker]="startPicker" [(ngModel)]="startTime">
    <nb-datepicker #startPicker format="yyyy-MM-dd"></nb-datepicker>
    -
    <input nbInput class="margin" placeholder="End Time" [nbDatepicker]="endPicker" [(ngModel)]="endTime">
    <nb-datepicker #endPicker format="yyyy-MM-dd"></nb-datepicker>
    <button nbButton class="margin" shape="rectangle" status="success" (click)="filter()">查询</button>
  </nb-card-body>
</nb-card>
<nb-card>
  <nb-card-header>
    水气热记录
  </nb-card-header>

  <nb-card-body>
    <ng2-smart-table [settings]="settings" [source]="source">
    </ng2-smart-table>
  </nb-card-body>
</nb-card>
